home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / TeXsource / commontex / h / align next >
Encoding:
Text File  |  1988-04-08  |  901 b   |  45 lines

  1. /*
  2.  *    Copyright 1986, 1987 Pat Joseph Monardo. All rights reserved.
  3.  *    Copying of this file is granted according to the provisions 
  4.  *    specified in the file COPYING which must accompany this file.
  5.  */
  6.  
  7.  
  8. /*
  9.  *        align.h
  10.  */
  11.  
  12. int        push_alignment();
  13. int        pop_alignment();
  14.  
  15. #define    ALIGN_STACK_NODE_SIZE    5
  16.  
  17. #define    u_part(A)                mem[A + HEIGHT_OFFSET].i
  18. #define    v_part(A)                mem[A + DEPTH_OFFSET].i
  19. #define    extra_info(A)            info(A + LIST_OFFSET)
  20.  
  21. #define    SPAN_CODE                128
  22. #define    CR_CODE                    129
  23. #define    CR_CR_CODE                CR_CODE + 1
  24.  
  25. #define    SPAN_NODE_SIZE            2
  26.  
  27. #define    preamble                link(align_head)
  28.  
  29. global    ptr        cur_align;
  30. global    ptr        cur_span;
  31. global    ptr        cur_loop;
  32. global    ptr        cur_head;
  33. global    ptr        cur_tail;
  34. global    ptr        align_ptr;
  35.  
  36. int        init_align();
  37. int        get_preamble_token();
  38. int        align_peek();
  39. int        init_row();
  40. int        init_span();
  41. int        init_col();
  42. bool    fin_col();
  43. int        fin_row();
  44. int        fin_align();
  45.